﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Text;
using System.Threading.Tasks;
using Cofe.Core.Logger;

namespace Cofe.Web.Feed
{
    public enum LinkType { prevArchive, nextArchive, via, self, related }
    public interface IFeedLinkHelper<T> where T : EventArgs
    {
        SyndicationLink CreateFeedLink(LinkType linkType, FeedId feedId);
        SyndicationLink CreateEventLink(LinkType linkType, IEventLog<T> eventLog, Guid eventLogId);
        SyndicationLink CreateEntryLink(LinkType linkType, Guid entryId);        

        bool IncludeBaseAddress { get; set; }
    }
}
